from django import forms
from .models import Article, Comment

class AddArticleForm(forms.ModelForm):
    class Meta:
        model = Article
        fields = ['title', 'content']

class AddCommentForm(forms.ModelForm):
    class Meta:
        model = Comment 
        fields = ['content']
 
 
